<template>
  <div id="app">
  	<el-row>
  		<el-col :span="6" :offset="2"><div style="padding-top: 25px"><img src="./assets/login_logo.jpg" /></div></el-col>
  	  <el-col :span="10" :offset="6"><div><h1>大蛤蟆VPN信息管理系统</h1></div></el-col>
  	</el-row>
    <el-row class="background1">
    	<div>
        <el-col :span="6" :offset="16">
      	  <div class="grid-content bg-purple">
      		  <div id="nav">
              <router-link to="/">登录</router-link>|
              <router-link to="/about">关于</router-link>
            </div>
            <router-view/>
      	  </div>
        </el-col>
      </div>
    </el-row>
    <el-row>
  	  <el-col :span="24"><div style="text-align: center;">版权所有 大蛤蟆股份有限公司 Big Hama Industry Co..Ltd 2018</div></el-col>
  	</el-row>
  </div>
</template>

<style lang="less">
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*text-align: center;*/
  color: #2c3e50;
}
#nav {
  padding: 30px;
  text-align: center;
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
.bg-purple {
  background: #e1e9f2;
  margin-top: 60px;
}
.grid-content {
  border-radius: 4px;
  min-height: 400px;
}
.background1 {
  background: url(assets/login_bg03.jpg);
  background-size: 100% 100%;
  min-height: 600px;
}
</style>
